#ifndef __NOTE__H
#define __NOTE__H

#include <QUuid>
#include <QByteArray>

class Note
{
public:
	enum{
		ID,
		PARENT,
		CONTENT,
		TITLE,
		CREATINGTIME,
	};
public:
	Note();
	~Note();
private:
	QUuid id_;
	QUuid parent_;
	QByteArray content_;
	QString title_;
public:
	const QString& title()const
	{ return title_; }
	void setTitle(const QString& title)
	{ title_ = title; }
	const QUuid& id()const
	{return id_;}
	void setId(const QUuid& id)
	{ id_ = id; }	
	const QUuid& parent()const
	{ return parent_; }
	void setParent(const QUuid& id)
	{ parent_ = id; }
	const QByteArray content()const
	{ return content_; }
	void setContent(const QByteArray& content)
	{ content_ = content; }
};
#endif//__NOTE__H
